package com.csu.mall.product.feign;

import com.csu.mall.common.to.SkuStockTo;
import com.csu.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("ware")
public interface WareFeignService {
    @PostMapping("/ware/wareinfo/getSkuHasStock")
    public List<SkuStockTo> getSkuHasStock(@RequestBody List<Long> skuIds);
}
